#pragma once

#include <QWidget>
#include <QMouseEvent>
#include "ui_StoryDetailsWidget.h"
#include "StoryDetailsData.h"

QT_BEGIN_NAMESPACE
namespace Ui { class StoryDetailsWidgetClass; };
QT_END_NAMESPACE

class StoryDetailsWidget : public QWidget
{
	Q_OBJECT

public:
	StoryDetailsWidget(QWidget *parent = nullptr);
	~StoryDetailsWidget();

	
	void setUi(StoryDetailsData* storyDetailsData);

private:
	Ui::StoryDetailsWidgetClass *ui;
	StoryDetailsData* storyDetailsData;
	virtual void mouseReleaseEvent(QMouseEvent* ev);
signals:
	void on_storyDetails_close();
};
